home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
program
/
qlib205.zip
/
QLIB.ZIP
/
SRC
/
MATH
/
MATH_BC.ASM
< prev
next >
Wrap
Assembly Source File
|
1997-04-13
|
650b
|
32 lines
; Math Library to be used in C programs (Borland C 32-bit)
; results are left in the FPU regs
include qlib.inc
include math.inc
include string.inc
include errno.inc
.data
_math_typ db 0
_BC_ equ 1
externdef _turboFloat:DWORD ;these should be ABS but DLINK
externdef _floatconvert:DWORD ;can't handle that
;and these should be equ but DLINK can't handle that...
_turboFloat dd 80387h ;for BCC32 v5.0 compatibility
_floatconvert dd 80387h ;something else it may need
include math_com.asm
include ftoa.asm
.code
_ftol proc ;for BCC32 compiler
push ebp
mov ebp,esp
jmp __ftol
_ftol endp
end